<?php
$form = $this->form;
$success = $this->success;
$message = $this->message;
?>

<?php if ($message): ?>
<?php echo $message ?>
<?php endif; ?>

<?php if (!$success): ?>
<?php echo $form ?>
<?php endif; ?>